import 'package:flutter/material.dart';
import 'package:flutter_practice/utils/Utils.dart';

class MyKeBoard extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Scaffold(
      appBar: Utils.getAppBar('软键盘遮挡'),
      body: Container(
        child: ListView(
          children: <Widget>[
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            ListTile(
              title: Text(
                '测试',
                style: TextStyle(fontSize: 22.0),
              ),
            ),
            TextField(
              keyboardType: TextInputType.number,
              decoration: InputDecoration(
                contentPadding: EdgeInsets.only(top: 10.0), //内容边距
                icon: Icon(Icons.phone), // 提示图片
                helperText: '注册需要填写手机号码', //提示文字
                labelText: '请输入你的号码', //下面辅助文字
              ),
            ),
          ],
        ),
      ),
    );
  }
}
